package com.liws.test.service.impl;

import com.liws.test.entity.Person;
import com.liws.test.mapper.PersonMapper;
import com.liws.test.service.IPersonService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liws
 * @since 2023-04-15
 */
@Service
public class PersonServiceImpl extends ServiceImpl<PersonMapper, Person> implements IPersonService {

    @Resource
    private PersonMapper personMapper;
    @Override
    public List<Person> selectAll() {

        return personMapper.selectAll();
    }
}
